<template>
  <div id="app">
   <router-view></router-view>

  </div>
</template>

<script>
import { initRoutes } from '@/router'

export default {
  name: 'app',
  components: {
  },
  created () {
      //调用路由的导入的函数
      initRoutes()
  }
}
</script>

<style>
  *{
    margin: 0;
    padding: 0;
  }

#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
  a {
    text-decoration: none;
  }
</style>
